package com.tesis_2.MO;

import java.util.Date;

public class MOComentario {
	
	private Integer id;
	private String 	cmt;
	private Float rate;
	private Integer reservation_id;
	private Integer user_id;
	private Integer local_id;
	private Integer restaurant_id;
	private Date created_at;
	private Date updated_at;
	private String usrname;
	private Integer status;
	private Integer rrest;
	private Integer rlocal;
	
	
	
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public String getCmt() {
		return cmt;
	}
	public void setCmt(String cmt) {
		this.cmt = cmt;
	}
	public Float getRate() {
		return rate;
	}
	public void setRate(Float rate) {
		this.rate = rate;
	}
	public Integer getReservation_id() {
		return reservation_id;
	}
	public void setReservation_id(Integer reservation_id) {
		this.reservation_id = reservation_id;
	}
	public Integer getUser_id() {
		return user_id;
	}
	public void setUser_id(Integer user_id) {
		this.user_id = user_id;
	}
	public Integer getLocal_id() {
		return local_id;
	}
	public void setLocal_id(Integer local_id) {
		this.local_id = local_id;
	}
	public Integer getRestaurant_id() {
		return restaurant_id;
	}
	public void setRestaurant_id(Integer restaurant_id) {
		this.restaurant_id = restaurant_id;
	}
	public Date getCreated_at() {
		return created_at;
	}
	public void setCreated_at(Date created_at) {
		this.created_at = created_at;
	}
	public Date getUpdated_at() {
		return updated_at;
	}
	public void setUpdated_at(Date updated_at) {
		this.updated_at = updated_at;
	}
	public String getUsrname() {
		return usrname;
	}
	public void setUsrname(String usrname) {
		this.usrname = usrname;
	}
	public Integer getStatus() {
		return status;
	}
	public void setStatus(Integer status) {
		this.status = status;
	}
	public Integer getRrest() {
		return rrest;
	}
	public void setRrest(Integer rrest) {
		this.rrest = rrest;
	}
	public Integer getRlocal() {
		return rlocal;
	}
	public void setRlocal(Integer rlocal) {
		this.rlocal = rlocal;
	} 
	
	public String getRateAsString()
	{
		
		Integer i = this.rate.intValue();
		return i.toString();
		
	}
	
}
